import request from '@/utils/request'

// 查询入区人员信息明细列表
export function listCasearea(query) {
  return request({
    url: '/business/casearea/list',
    method: 'get',
    params: query
  })
}

// 查询入区人员信息明细详细
export function getCasearea(fId) {
  return request({
    url: '/business/casearea/' + fId,
    method: 'get'
  })
}

// 新增入区人员信息明细
export function addCasearea(data) {
  return request({
    url: '/business/casearea',
    method: 'post',
    data: data
  })
}

// 修改入区人员信息明细
export function updateCasearea(data) {
  return request({
    url: '/business/casearea',
    method: 'put',
    data: data
  })
}

// 删除入区人员信息明细
export function delCasearea(fId) {
  return request({
    url: '/business/casearea/' + fId,
    method: 'delete'
  })
}
